package com.cskaoyan.catmall.model.bo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 创建日期: 2022-01-07-22-33
 * author : WQW
 * description: 用于删除类目请求接收参数
 */
@NoArgsConstructor
@Data
public class CategoryDeleteBo {
    private Integer id;
    private String name;
    private String keywords;
    private String desc;
    private String iconUrl;
    private String picUrl;
    private String level;
    private List<ChildrenDTO> children;

    @AllArgsConstructor
    @NoArgsConstructor
    @Data
    public static class ChildrenDTO {
        private Integer id;
        private String name;
        private String keywords;
        private String desc;
        private String iconUrl;
        private String picUrl;
        private String level;
    }
}
